|
|
Joined: Sep 2001
Posts: 194
Member
|
Member
Joined: Sep 2001
Posts: 194 |
Hi I have installed on 5.47e Jimbo's custom rank hack and it works fine. I want to know if there is another hack that'll add an icon (or icons) to each member's custom rank title?
So for TITLE1 I should be able to assign ICON1 for TITLE2 ICON2
... and so on.
Thanks much in advance!
|
|
|
|
Joined: Feb 2001
Posts: 108
Member
|
Member
Joined: Feb 2001
Posts: 108 |
|
|
|
|
Joined: Sep 2001
Posts: 194
Member
|
Member
Joined: Sep 2001
Posts: 194 |
Hmm..
well, the rank hack has the following code;
# Check for Post Count titles my @posttitles = &OpenFile("$MembersPath/title-list2.file");
foreach $thisline(@posttitles) { my @postnumtitles = split(/|!!|/, $thisline); chomp($postnumtitles[1]);
if ($thisprofile[7] > $postnumtitles[0]) { $ThisStatus = "$postnumtitles[1]"; } }
So there is a loop going on. I don't think adding a simple link for an image file will make diff. icons for each member (according to rank).
I could do image$postnumtitle[0].gif but then it will give away the number of posts required to get ranked etc... so there has to be some other way.
Thax
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Svr, use what p2k posted. The easiest way to add a image is to use HTML after the title so for example it should be like this. 1|!!|Title
|
|
|
|
Joined: Sep 2001
Posts: 194
Member
|
Member
Joined: Sep 2001
Posts: 194 |
Yep it does work the way above.. thanks! The hack is pretty neat!
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|